package com.szl.sbssh.service;

import com.szl.sbssh.pageModel.base.SessionInfo;
import com.szl.sbssh.pageModel.base.Tree;
import com.szl.sbssh.pageModel.sys.Resource;

import java.util.List;

/**
 * Author: songzhonglin
 * Date: 2018/4/18
 * Time: 9:19
 * Description:
 **/
public interface ResourceService {

    public List<Tree> tree(SessionInfo sessionInfo);

    public List<Resource> treeGrid();

    public void add(Resource resource);

    public void delete(Long id);

    public void edit(Resource resource);

    public Resource get(Long id);

    public List<Tree> listAllTree(boolean flag);

    public List<String> listAllResource();
}
